package com.ffdms.vo;

import java.util.Date;

public class Department {
	public static final String TABLENAME = "DEPARTMENT";
	public static final String COLUMN_ID = "ID";
	public static final String COLUMN_ENTERPRISEID = "ENTERPRISEID";
	public static final String COLUMN_NAME = "NAME";
	public static final String COLUMN_DESCRIPTION = "DESCRIPTION";
	public static final String COLUMN_PARENTID = "PARENTID";
	public static final String COLUMN_SORT = "SORT";
	public static final String COLUMN_ADDTIME = "ADDTIME";
	public static final String COLUMN_MODIFYTIME = "MODIFYTIME";
	public static final String[] ALLCOLUMNS = new String[] { COLUMN_ID,
			COLUMN_ENTERPRISEID, COLUMN_NAME, COLUMN_DESCRIPTION,
			COLUMN_PARENTID, COLUMN_SORT, COLUMN_ADDTIME, COLUMN_MODIFYTIME };

	private int iD;
	private int enterpriseID;
	private String name;
	private String description;
	private int parentID;
	private int sort;
	private Date addTime;
	private Date modifyTime;

	public int getID() {
		return iD;
	}

	public void setID(int iD) {
		this.iD = iD;
	}

	public int getEnterpriseID() {
		return enterpriseID;
	}

	public void setEnterpriseID(int enterpriseID) {
		this.enterpriseID = enterpriseID;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public int getParentID() {
		return parentID;
	}

	public void setParentID(int parentID) {
		this.parentID = parentID;
	}

	public int getSort() {
		return sort;
	}

	public void setSort(int sort) {
		this.sort = sort;
	}

	public Date getAddTime() {
		return addTime;
	}

	public void setAddTime(Date addTime) {
		this.addTime = addTime;
	}

	public Date getModifyTime() {
		return modifyTime;
	}

	public void setModifyTime(Date modifyTime) {
		this.modifyTime = modifyTime;
	}
}
